From: nana-4 Date: Tue, 4 Feb 2020 16:07:55 +0000 (+0900) Subject: theme/notifications: Remove some duplicate or pointless styling X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~7 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=900d36d0ead97a63c726a3f94c532d6b6522c635;p=gnome-shell.git theme/notifications: Remove some duplicate or pointless styling Those styles are defined in .message and do not need to be overridden in .notification-banner. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957 --- diff --git a/data/theme/gnome-shell-sass/widgets/_notifications.scss b/data/theme/gnome-shell-sass/widgets/_notifications.scss index cc6937964..7d0cda2ba 100644 --- a/data/theme/gnome-shell-sass/widgets/_notifications.scss +++ b/data/theme/gnome-shell-sass/widgets/_notifications.scss @@ -7,28 +7,8 @@ $notification_banner_width: 34em; .notification-banner { min-height: $notification_banner_height; width: $notification_banner_width; - @include fontsize($base_font_size); - margin: $base_margin; - border-radius: $modal_radius; - - .message-title { color: $fg_color } - .message-content { color: $fg_color; } - - &:hover { background: $bg_color; } - &, &:focus, &:active { - background-color: $bg_color; - .message-title { color: $fg_color } - .message-content { color: $fg_color; } - } - - // icon - .message-icon-bin > StIcon { - icon-size: $base_icon_size * 2; - color: $fg_color; - } .notification-actions { - padding-top: 0; spacing: 0; }